package com.zhihuishu.micro.course.dto;

import java.io.Serializable;

public class ChapterDto implements Serializable,TreenityDto {

	private static final long serialVersionUID = 1L;
	
	private Integer id;
	private Long courseId ;			// COURSE_ID
	private String name;			// 章名称
	private Integer rank;			// 章序号
	private String description;		// 章简介
	private Integer limitDay;		// 计划学习天数
	private Integer studyHour;		// 最低学时
	private Integer isPass ;		// 是否发布
	//ztl------------------------------------------------
	private Long personalCourseId;  // cc_course主键
	private Integer isDeleted;      // 是否删除 0删/1未删

	//private String speaker;			// 主讲人
	
	public Long getCourseId() {
		return courseId;
	}

	public void setCourseId(Long courseId) {
		this.courseId = courseId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getLimitDay() {
		return limitDay;
	}

	public void setLimitDay(Integer limitDay) {
		this.limitDay = limitDay;
	}

	public Integer getStudyHour() {
		return studyHour;
	}

	public void setStudyHour(Integer studyHour) {
		this.studyHour = studyHour;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getIsPass() {
		return isPass;
	}

	public void setIsPass(Integer isPass) {
		this.isPass = isPass;
	}

	public Long getPersonalCourseId() {
		return personalCourseId;
	}

	public void setPersonalCourseId(Long personalCourseId) {
		this.personalCourseId = personalCourseId;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

/*	public String getSpeaker() {
		return speaker;
	}

	public void setSpeaker(String speaker) {
		this.speaker = speaker;
	}*/

    @Override
    public Long getOneToManyId() {
        return getCourseId();
    }
}
